<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>17-基本数据类型-字符串类型</title>
</head>

<body>
  <script>
    // let str = 'pink'
    // let str1 = "pink"
    // let str2 = `中文`
    // console.log(str2);
    // console.log(11);
    // console.log(`11`);
    // console.log(str);
    // console.log('pink老师讲课有"激情"');
    // console.log('pink老师讲课有\'激情\'');//  \是转义符

    //字符串拼接
    // console.log(1 + 1);
    // console.log('pink' + '老师');
    

    // let age = 18
    // document.write('我今年' + age + '岁了')

    
  </script>
</body>
</html>